package com.smfx.yxt.model;

import java.io.Serializable;
import java.util.List;

public class TeacherOrganizeGroup implements Serializable {

	private static final long serialVersionUID = -1155023376921801113L;

	private Integer groupId;

	private String groupName;
	
	private Integer parentGroupId;
	
	private String groupCode;
	
	private String ids;

	private Integer teacherId;
	
	private String teacherName;
	
	private boolean hasChild;
	
	private List<TeacherOrganizeGroup> subList;
	
	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Integer getParentGroupId() {
		return parentGroupId;
	}

	public void setParentGroupId(Integer parentGroupId) {
		this.parentGroupId = parentGroupId;
	}

	public String getGroupCode() {
		return groupCode;
	}

	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public Integer getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public boolean isHasChild() {
		return hasChild;
	}

	public void setHasChild(boolean hasChild) {
		this.hasChild = hasChild;
	}

	public List<TeacherOrganizeGroup> getSubList() {
		return subList;
	}

	public void setSubList(List<TeacherOrganizeGroup> subList) {
		this.subList = subList;
	}

	public int getTeacherCount() {
		if(subList == null) return 0;
		return subList.size();
	}
	
}
